package com.maotai.bl.service;

import java.sql.SQLException;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.maotai.bl.dao.BLDao;

@Transactional  //注入事务管理   
@Component("blService")
public class BLService {
	@Resource
	BLDao blDao;
	public int insertZhanghaoWeb(Map<String, String> map)throws SQLException{
		return blDao.insertZhanghaoWeb(map);
	}
	public Map<String, Object> getShenFengRandom() throws SQLException{
		return blDao.getShenFengRandom();  
	}
}
